//反向代理
module.exports = {
    devServer: {
        proxy: {
            '/api': {
                target: 'https://m.maizuo.com',//需要代理的网址
                changeOrigin: true,
                pathRewrite: {
                    '^/api': 'https://m.maizuo.com'
                }
            }
        },
        disableHostCheck: true //禁用主机检查
    }
}